package cn.javass.dp.visitor.example1;

public class ConcreateElementB extends Element {
    @Override
    public void accept(Visitor visitor) {
        visitor.visitConcreteElementB(this);
    }

    public void operationB() {
        //已有的功能实现
        System.out.println("B的实现方法");

    }

}
